package com.punai.externalccb.bo;


import java.io.Serializable;
import java.math.BigDecimal;

public class YDModifyItemBO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6527603912700901637L;
	private Integer ID;
	private BigDecimal YsTotal;
	private BigDecimal TargetTaxTotal;
	private String Time;
	private String Txt;
	public Integer getID() {
		return ID;
	}
	public void setID(Integer iD) {
		ID = iD;
	}
	public BigDecimal getYsTotal() {
		return YsTotal;
	}
	public void setYsTotal(BigDecimal ysTotal) {
		YsTotal = ysTotal;
	}
	public BigDecimal getTargetTaxTotal() {
		return TargetTaxTotal;
	}
	public void setTargetTaxTotal(BigDecimal targetTaxTotal) {
		TargetTaxTotal = targetTaxTotal;
	}
	public String getTime() {
		return Time;
	}
	public void setTime(String time) {
		Time = time;
	}
	public String getTxt() {
		return Txt;
	}
	public void setTxt(String txt) {
		Txt = txt;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((ID == null) ? 0 : ID.hashCode());
		result = prime * result
				+ ((TargetTaxTotal == null) ? 0 : TargetTaxTotal.hashCode());
		result = prime * result + ((Time == null) ? 0 : Time.hashCode());
		result = prime * result + ((Txt == null) ? 0 : Txt.hashCode());
		result = prime * result + ((YsTotal == null) ? 0 : YsTotal.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		YDModifyItemBO other = (YDModifyItemBO) obj;
		if (ID == null) {
			if (other.ID != null)
				return false;
		} else if (!ID.equals(other.ID))
			return false;
		if (TargetTaxTotal == null) {
			if (other.TargetTaxTotal != null)
				return false;
		} else if (!TargetTaxTotal.equals(other.TargetTaxTotal))
			return false;
		if (Time == null) {
			if (other.Time != null)
				return false;
		} else if (!Time.equals(other.Time))
			return false;
		if (Txt == null) {
			if (other.Txt != null)
				return false;
		} else if (!Txt.equals(other.Txt))
			return false;
		if (YsTotal == null) {
			if (other.YsTotal != null)
				return false;
		} else if (!YsTotal.equals(other.YsTotal))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "YDModifyItem [ID=" + ID + ", YsTotal=" + YsTotal
				+ ", TargetTaxTotal=" + TargetTaxTotal + ", Time=" + Time
				+ ", Txt=" + Txt + "]";
	}
	
	
}
